﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NetDns;
using NetDns.Transport;

namespace NetDns.Fluent
{
    public class Dns
    {
        public static IList<IRecord> Resolve(IQuery dnsQuery)
        {
            return null;
        }

    }

    public class Query
    {
        public static IQueryForType For()
        {
            return null;
        }
    }

    public class QueryBuilder
    {
        private Request request = new Request();
        private List<DnsType> dnsTypes = new List<DnsType>();

        public void AddRecordType(IRecord dnsType)
        {
            
            //dnsTypes.Add( dnsType );
        }

        public void AddHostname(string hostname)
        {
            foreach ( DnsType type in dnsTypes )
                request.AddQuestion( new Question( hostname, type, DnsClass.IN ) );
        }
    }
}
